<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0175)file:///Users/zavier/Desktop/%E5%91%B5%E5%91%B5%E6%88%90%E7%A5%9E%E4%B9%8B%E8%B7%AF/%E5%91%B5%E5%91%B5%E7%BB%83%E4%B9%A0/alert.confirm%E5%8E%BB%E9%99%A4%E7%BD%91%E5%9D%80.html -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=GBK">
<meta charset="utf-8">
  <meta name="HandheldFriendly" content="True" />
  <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, minimal-ui" />
  <meta name="mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
   <script src="ale.confirm.js"></script>
<script>
function heheda() {

    return confirm("xx");
}
function nihao() {

    alert("nihao");
}
</script> 

</head>
<body>
<div style="width:100px;height:100px;background:red;" onclick="heheda()">hehed</div>
<div style="width:100px;height:100px;background:red;" onclick="nihao()">nihao</div>


</body></html>